package cn.stylefeng.guns.modular.fi.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangzh
 * @since 2024-11-04
 */
@TableName("fi_freight_details")
public class FiFreightDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 项目id
     */
    @TableField("operate_id")
    private Long operateId;

    /**
     * 所属项目
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 车次
     */
    @TableField("train_number")
    private String trainNumber;

    /**
     * 流程状态
     */
    @TableField("process_status")
    private String processStatus;

    /**
     * 发车日期
     */
    @TableField("depart_date")
    private Date departDate;

    /**
     * 发运时间
     */
    @TableField("depart_time")
    private Date departTime;

    /**
     * 到仓时间
     */
    @TableField("arrival_time")
    private Date arrivalTime;

    /**
     * 调度单号
     */
    @TableField("dispatch_number")
    private String dispatchNumber;

    /**
     * 客户单号
     */
    @TableField("customer_order")
    private String customerOrder;

    /**
     * 车牌号
     */
    @TableField("plate_number")
    private String plateNumber;

    /**
     * 司机
     */
    @TableField("siji")
    private String siji;

    /**
     * 司机电话
     */
    @TableField("sijidianhua")
    private String sijidianhua;

    /**
     * 车型
     */
    @TableField("chexing")
    private String chexing;

    /**
     * 行驶里程
     */
    @TableField("mileage_traveled")
    private BigDecimal mileageTraveled;

    /**
     * 里程区间
     */
    @TableField("mileage_range")
    private String mileageRange;

    /**
     * 装车方
     */
    @TableField("loading_type")
    private String loadingType;

    /**
     * 装车工号
     */
    @TableField("loading_number")
    private String loadingNumber;

    /**
     * 装车人员
     */
    @TableField("loading_personnel")
    private String loadingPersonnel;

    /**
     * 准载量
     */
    @TableField("zhunzailiang")
    private BigDecimal zhunzailiang;

    /**
     * 收货客户
     */
    @TableField("get_units")
    private String getUnits;

    /**
     * 收货客户
     */
    @TableField("get_units_id")
    private Long getUnitsId;

    /**
     * 城市
     */
    @TableField("city")
    private String city;

    /**
     * 区县
     */
    @TableField("county")
    private String county;

    /**
     * 合计数量
     */
    @TableField("toonum")
    private BigDecimal toonum;

    /**
     * 合计体积
     */
    @TableField("toovolume")
    private BigDecimal toovolume;

    /**
     * 封箱数
     */
    @TableField("box_number")
    private BigDecimal boxNumber;

    /**
     * 承运商id
     */
    @TableField("carrier_id")
    private Long carrierId;

    /**
     * 承运商
     */
    @TableField("carrier_name")
    private String carrierName;

    /**
     * 线路
     */
    @TableField("line_name")
    private String lineName;

    /**
     * 线路ID
     */
    @TableField("line_id")
    private Long lineId;

    /**
     * 单价
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 计算运费
     */
    @TableField("calc_cost")
    private BigDecimal calcCost;

    /**
     * 税率
     */
    @TableField("tax_rate")
    private BigDecimal taxRate;

    /**
     * 未税金额
     */
    @TableField("untax_amt")
    private BigDecimal untaxAmt;

    /**
     * 税额
     */
    @TableField("tax_amt")
    private BigDecimal taxAmt;

    /**
     * 装车费
     */
    @TableField("loading_money")
    private BigDecimal loadingMoney;

    /**
     * 装车费
     */
    @TableField("loading_price")
    private BigDecimal loadingPrice;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    @TableField("remarks")
    private String remarks;

    /**
     * 承运商登录账号
     */
    @TableField("carrier_user_code")
    private String carrierUserCode;

    public String getCarrierUserCode() {
        return carrierUserCode;
    }

    public void setCarrierUserCode(String carrierUserCode) {
        this.carrierUserCode = carrierUserCode;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public BigDecimal getLoadingPrice() {
        return loadingPrice;
    }

    public void setLoadingPrice(BigDecimal loadingPrice) {
        this.loadingPrice = loadingPrice;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public BigDecimal getLoadingMoney() {
        return loadingMoney;
    }

    public void setLoadingMoney(BigDecimal loadingMoney) {
        this.loadingMoney = loadingMoney;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOperateId() {
        return operateId;
    }

    public void setOperateId(Long operateId) {
        this.operateId = operateId;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    public String getTrainNumber() {
        return trainNumber;
    }

    public void setTrainNumber(String trainNumber) {
        this.trainNumber = trainNumber;
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public Date getDepartDate() {
        return departDate;
    }

    public void setDepartDate(Date departDate) {
        this.departDate = departDate;
    }

    public Date getDepartTime() {
        return departTime;
    }

    public void setDepartTime(Date departTime) {
        this.departTime = departTime;
    }

    public Date getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public String getDispatchNumber() {
        return dispatchNumber;
    }

    public void setDispatchNumber(String dispatchNumber) {
        this.dispatchNumber = dispatchNumber;
    }

    public String getCustomerOrder() {
        return customerOrder;
    }

    public void setCustomerOrder(String customerOrder) {
        this.customerOrder = customerOrder;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public String getSiji() {
        return siji;
    }

    public void setSiji(String siji) {
        this.siji = siji;
    }

    public String getSijidianhua() {
        return sijidianhua;
    }

    public void setSijidianhua(String sijidianhua) {
        this.sijidianhua = sijidianhua;
    }

    public String getChexing() {
        return chexing;
    }

    public void setChexing(String chexing) {
        this.chexing = chexing;
    }

    public BigDecimal getMileageTraveled() {
        return mileageTraveled;
    }

    public void setMileageTraveled(BigDecimal mileageTraveled) {
        this.mileageTraveled = mileageTraveled;
    }

    public String getMileageRange() {
        return mileageRange;
    }

    public void setMileageRange(String mileageRange) {
        this.mileageRange = mileageRange;
    }

    public String getLoadingType() {
        return loadingType;
    }

    public void setLoadingType(String loadingType) {
        this.loadingType = loadingType;
    }

    public String getLoadingNumber() {
        return loadingNumber;
    }

    public void setLoadingNumber(String loadingNumber) {
        this.loadingNumber = loadingNumber;
    }

    public String getLoadingPersonnel() {
        return loadingPersonnel;
    }

    public void setLoadingPersonnel(String loadingPersonnel) {
        this.loadingPersonnel = loadingPersonnel;
    }

    public BigDecimal getZhunzailiang() {
        return zhunzailiang;
    }

    public void setZhunzailiang(BigDecimal zhunzailiang) {
        this.zhunzailiang = zhunzailiang;
    }

    public String getGetUnits() {
        return getUnits;
    }

    public void setGetUnits(String getUnits) {
        this.getUnits = getUnits;
    }

    public Long getGetUnitsId() {
        return getUnitsId;
    }

    public void setGetUnitsId(Long getUnitsId) {
        this.getUnitsId = getUnitsId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public BigDecimal getToonum() {
        return toonum;
    }

    public void setToonum(BigDecimal toonum) {
        this.toonum = toonum;
    }

    public BigDecimal getToovolume() {
        return toovolume;
    }

    public void setToovolume(BigDecimal toovolume) {
        this.toovolume = toovolume;
    }

    public BigDecimal getBoxNumber() {
        return boxNumber;
    }

    public void setBoxNumber(BigDecimal boxNumber) {
        this.boxNumber = boxNumber;
    }

    public Long getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(Long carrierId) {
        this.carrierId = carrierId;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCalcCost() {
        return calcCost;
    }

    public void setCalcCost(BigDecimal calcCost) {
        this.calcCost = calcCost;
    }

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public BigDecimal getUntaxAmt() {
        return untaxAmt;
    }

    public void setUntaxAmt(BigDecimal untaxAmt) {
        this.untaxAmt = untaxAmt;
    }

    public BigDecimal getTaxAmt() {
        return taxAmt;
    }

    public void setTaxAmt(BigDecimal taxAmt) {
        this.taxAmt = taxAmt;
    }

    @Override
    public String toString() {
        return "FiFreightDetails{" +
        "id=" + id +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        ", trainNumber=" + trainNumber +
        ", processStatus=" + processStatus +
        ", departDate=" + departDate +
        ", departTime=" + departTime +
        ", arrivalTime=" + arrivalTime +
        ", dispatchNumber=" + dispatchNumber +
        ", customerOrder=" + customerOrder +
        ", plateNumber=" + plateNumber +
        ", siji=" + siji +
        ", sijidianhua=" + sijidianhua +
        ", chexing=" + chexing +
        ", mileageTraveled=" + mileageTraveled +
        ", mileageRange=" + mileageRange +
        ", loadingType=" + loadingType +
        ", loadingNumber=" + loadingNumber +
        ", loadingPersonnel=" + loadingPersonnel +
        ", zhunzailiang=" + zhunzailiang +
        ", getUnits=" + getUnits +
        ", getUnitsId=" + getUnitsId +
        ", city=" + city +
        ", county=" + county +
        ", toonum=" + toonum +
        ", toovolume=" + toovolume +
        ", boxNumber=" + boxNumber +
        ", carrierId=" + carrierId +
        ", carrierName=" + carrierName +
        ", lineName=" + lineName +
        ", lineId=" + lineId +
        ", price=" + price +
        ", calcCost=" + calcCost +
        ", taxRate=" + taxRate +
        ", untaxAmt=" + untaxAmt +
        ", taxAmt=" + taxAmt +
        "}";
    }
}
